package cn.engage.pet.domain;


import cn.engage.basic.domain.BaseDomain;
import cn.engage.org.domain.Shop;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author itsource
 * @since 2022-10-28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PetOnlineAuditLog extends BaseDomain {
    /**
     * 消息id
     */
    private Long petId;
    /**
     * 状态 0失败 1成功
     */
    private Integer state;
    /**
     * 审核人 如果为null系统审核
     */
    private Long auditId;
    /**
     * 审核时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date auditTime = new Date();
    /**
     * 备注
     */
    private String note;

    // 获取宠物名字
    private Pet pet;
    // 获取店铺名称
    private Shop shop;
}
